package com.tang.crm.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.tang.crm.entity.SaleChance;
import com.tang.crm.dto.SaleChanceDto;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.Map;

@Mapper
public interface SaleChanceMapper extends BaseMapper<SaleChance> {
    // 分页条件查询
    IPage<Map<String, Object>> selectByParams(IPage<SaleChance> page, @Param("params") SaleChanceDto saleChanceDto);
}
